class CreateRestaurants < ActiveRecord::Migration
  def self.up
    create_table :restaurants do |t|
      t.string :rest_name
      t.string :rest_province
      t.text :rest_detail
      t.string :rest_lat
      t.string :rest_long
      t.string :rest_img
      t.double :rest_rate

      t.timestamps
    end
  end

  def self.down
    drop_table :restaurants
  end
end
